×
Notice
The forum is in read only mode.
Forum
VoIP Gateways Support
GSM Gateway
problem sending sms with carriage return
×
Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway
problem sending sms with carriage return
Less
More
Posts: 171
Karma: 5
Thank you received: 10
9 years 5 months ago #10019
by lindali
hello,
Please add my skype to your contact list, I'll help you with your problem.
Best regards,
skype: linda.li258
email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Less
More
Posts: 6
Thank you received: 0
9 years 5 months ago #10028
by amieru
Hi Lindali, I am also experiencng the same problem, can you also help us on our problem?
Thank you.
Less
More
Posts: 5
Thank you received: 0
Less
More
Posts: 10
Thank you received: 0
9 years 5 months ago - 9 years 5 months ago #10046
by maxfranco
i tried prepending an urlencoded escape char (%1B) to a CR char.
No luck... the sms doesn't start.
an escape char only can be sent, but obviously it didn't result in any output in the sms
Last Edit: 9 years 5 months ago by
maxfranco .
Less
More
Posts: 10
Thank you received: 0
9 years 5 months ago - 9 years 5 months ago #10047
by maxfranco
ok... if i put and urlencoded duble quotes into the sms, the gsm gateway correctly escapes it
Command: gsm send sync sms 2 3929xxxxxx "\"test\"" 10000
if i put a line feed it is not escaped:
Command: gsm send sync sms 3 3929xxxxxx "test
newline" 10000
Last Edit: 9 years 5 months ago by
maxfranco .
Less
More
Posts: 5
Thank you received: 0
9 years 5 months ago - 9 years 5 months ago #10048
by Louis
when you access it through socket in linux, it gives you the a message like:
escape character '^]'
i guess you should do the following:
String cmd = "Command: gsm send sync sms 3 3929xxxxxx \"test"+(char)0x1D+"
"+(char)0x1D+"
"newline\" 10000";
because the escape character is "^]" (Group separator)
you can also try this way:
char GS = (char)29;
Last Edit: 9 years 5 months ago by
Louis .
Forum
VoIP Gateways Support
GSM Gateway
problem sending sms with carriage return
Time to create page: 0.046 seconds